<!doctype html>
<html>
<?php echo $this->fetch('head.html'); ?>

<body>
 <div class="fullscreen">

	<div class="topfixed">
      <div class="t_left"><a href="/index.php" class="goBack"><i class="back"></i></a></div>
      <div class="t_main">头条资讯</div>
   
    </div> 
     <div class="paddingheight"></div>
     <ul class="data-list">
<?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { $_from=array();}; $this->push_vars('', 'c');if (count($_from)):
    foreach ($_from AS $this->_var['c']):
?>
        <li <?php if ($this->_var['c']['imgurl']): ?> class="hasimg"<?php endif; ?>>
            <a class="aurl" href="<?php echo R("/index.php?m=show&id=".$this->_var["c"]["id"]."");?>">
               <?php if ($this->_var['c']['imgurl']): ?> <img src="<?php echo IMAGES_SITE; ?><?php echo $this->_var['c']['imgurl']; ?>.100x100.jpg"/><?php endif; ?>
                <dl>
                    <dt><?php echo $this->_var['c']['title']; ?></dt>
                    <dd class="time"><?php echo timeago($this->_var['c']['dateline']); ?></dd>
                    <dd class="content"><?php echo $this->_var['c']['description']; ?></dd>
                    <dd class="source">作者：<?php echo $this->_var['c']['nickname']; ?></dd> 
                </dl>
            </a>
        </li>
    <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
</ul> 
<div><?php echo $this->_var['pagelist']; ?></div>
</div>
</body>
</html>
